package com.itheima.lambda;
/*
普通的类不能使用lambda
 */
public class Demo02 {
    public static void main(String[] args) {
        Fu fu = new Fu(){
            @Override
            public void sing() {
                System.out.println("匿名内部类的sing");
            }
        };
        fu.sing();


    }

}

class Fu{
    public void sing(){
        System.out.println("fu...sing");
    }

}